package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @Classname ItemVo
 * @Description TODO
 * @Date 2021/9/9 13:42
 * @Author Anonymous
 */
@SuppressWarnings("all")
@Data
public class SkuItemVo {
    //1、sku基本信息  pms_sku_info
    SkuInfoEntity info;
    //2、sku的图片信息  pms_sku_images
    List<SkuImagesEntity> images;
    //3、获取spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;
    //4、获取spu的介绍
    SpuInfoDescEntity desp;
    //5、获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    boolean hasStock = true;//是否有货,默认都是有货

    /**
     * 秒杀信息
     */
    SeckillInfoVo seckillInfoVo;


}
